In mathematics, the AGM method (for arithmetic-geometric mean) makes it possible to construct fast algorithms for calculation of exponential and trigonometric functions, and some mathematical constants and in particular, to quickly compute .
Gauss noticed [1][2] that the sequences
have for
the same limit:
the arithmetic-geometric mean.
It is possible to use this fact to construct fast algorithms for calculation of elementary transcendental functions and some classical constants and in particular, to quickly calculate the constant .
For example, according to the Gauss–Salamin formula:[3]
where
At the same time, if we take
then
where K(α) is a complete elliptic integral
Using this property of the AGM and also the ascending transformations of Landen,[4] Richard Brent[5] suggested the first AGM algorithms for fast evaluation of elementary transcendental functions (ex, cos x, sin x). Later many authors have been going on to study and use the AGM algorithms, see, for example, the book "Pi and the AGM" by Jonathan and Peter Borwein.[6]